package com.lbd99.data.lbd.dao;

import java.util.List;
import java.util.Map;

import com.lbd99.data.lbd.vo.TExchangeLog;

public interface TExchangeLogMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TExchangeLog record);

    int insertSelective(TExchangeLog record);

    TExchangeLog selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TExchangeLog record);

    int updateByPrimaryKey(TExchangeLog record);
    
    List<TExchangeLog> ordinaryRecord(Integer userId);
    
    List<TExchangeLog> showTExchangeLog(Integer userId);

	Integer exchangeCountToday(Map<String, Object> map);

	Integer exchangeCountWeek(Map<String, Object> map);
}